package com.oracle.mapper;

import com.oracle.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    boolean addeeone(User user);
    List<User> selectAllUsers(@Param("keyName")String keyName,@Param("rid") int rid);
    User selectUserByUserCodeAndUserPassword(@Param("userCode") String userCode,@Param("userPassword")String userPassword);
    int insertUser(User user);
    int selectUserCountByUserCode(String userCode);
    User selectUserById(int id);
    int updateUser(User user);
    int deleteUserById(int id);


}
